package com.jsbb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;

/**
 * 登录DTO
 *
 * @author jsbb
 */
public class LoginDto {

    @NotEmpty
    @Schema(title = "用户名")
    private String userName;

    @NotEmpty
    @Schema(title = "密码")
    private String pwd;

    @Schema(title = "验证码")
    private String captcha;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }
}
